﻿using System;
using Common.Infrastructure;

namespace StatsData.Data.Entity
{
    /// <summary>
    /// 工时效率
    /// </summary>
    public class t_manu_source_hour_efficiency : EntityBase
    {
        public string line_id { get; set; }

        /// <summary>
        /// 线体编号
        /// </summary>
        public string line_code { get; set; }

        /// <summary>
        /// 线体名称
        /// </summary>
        public string line_name { get; set; }

        public string line_name_en { get; set; }

        /// <summary>
        /// 线长
        /// </summary>
        public string line_user_name { get; set; }

        /// <summary>
        /// 线长
        /// </summary>
        public string line_user_code { get; set; }

        /// <summary>
        /// 日期
        /// </summary>
        public DateTime curr_date { get; set; }

        /// <summary>
        /// 人数
        /// </summary>
        public decimal actual_user_qty { get; set; }

        /// <summary>
        /// 目标产能
        /// </summary>
        public decimal target_qty { get; set; }

        /// <summary>
        /// 总装产出数量
        /// </summary>
        public decimal total_in_qty { get; set; }

        /// <summary>
        /// 包装产出数量
        /// </summary>
        public decimal total_out_qty { get; set; }

        /// <summary>
        /// 入库数量
        /// </summary>
        public decimal store_qty { get; set; }

        /// <summary>
        /// 工单数量
        /// </summary>
        public decimal work_qty { get; set; }

        /// <summary>
        /// 总装标准工时
        /// </summary>
        public decimal total_in_standard_work_hour { get; set; }

        /// <summary>
        /// 包装标准工时
        /// </summary>
        public decimal total_out_standard_work_hour { get; set; }

        /// <summary>
        /// 设备标准工时
        /// </summary>
        public decimal manu_source_standard_work_hour { get; set; }

        /// <summary>
        /// 设备开机工时
        /// </summary>
        public decimal manu_source_working_hour { get; set; }

        public decimal fpy { get; set; }

        /// <summary>
        /// 产能达成率
        /// </summary>
        public decimal actual_capacity_rate { get; set; }

        /// <summary>
        /// 人工制造率
        /// </summary>
        public decimal labor_rate { get; set; }

        /// <summary>
        /// 人工制造率目标值
        /// </summary>
        public decimal target_labor_rate { get; set; }

        /// <summary>
        /// 设备制造率
        /// </summary>
        public decimal manu_source_rate { get; set; }

        /// <summary>
        /// 设备制造率目标值
        /// </summary>
        public decimal manu_source_target_rate { get; set; }

        /// <summary>
        /// 综合制造率
        /// </summary>
        public decimal total_rate { get; set; }

        /// <summary>
        /// 综合制造率目标
        /// </summary>
        public decimal total_target_rate { get; set; }
    }
}
